import request from '@/utils/request'

export default {
  // 获取活动列表
  getAllActivities() {
    return request({
      url: `/activity/getAllActivities`,
      method: 'get'
    })
  },
  getActivityListPage(current, limit, activityQuery) {
    return request({
      url: `/activity/pageActivityCondition/${current}/${limit}`,
      method: 'post',
      data: activityQuery
    })
  }
}
